/* Expands ~ in a path. Removes "/private", if possible. Condenses "//" and "/./". Replaces any use of ".." in absolute paths by taking the real .. if possible, else it just trims the previous component. Should raise on failure, never return nil. This does not stat the path, just cleans up the syntax. */
- (NSString *)stringByResolvingSymlinksInPath;
/* Resolves all symlinks in path, leaving a path with no symlinks and cleaned up. On error the empty string will be returned. */
/* Regards "self" as a possible partial filename. Returns in "outputName" the longest matching string. Returns 0 and leaves outputName untouched if no matches. Returns 1 if there's a unique match, and fills in "outputName" to the longest matching filename/username. If more than one match, fills in "outputName" as usual and returns > 1. If the "typeList" argument is non-null, each filename is scrutinized to see if it matches one of the types; if not, it is discarded. If there is an output array pointer given, then all the matching file names are put into an array and returned. When an array is thus returned, the returned count is ACCURATE; otherwise the returned count is simply ">1" to indicate there is not a unique match.*/